package com.sikaryofficial.workbench.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sikaryofficial.workbench.domain.dto.req.order.OrderListReq;
import com.sikaryofficial.workbench.domain.dto.resp.order.OrderDTO;
import com.sikaryofficial.workbench.domain.entity.OrderHeader;
import org.apache.ibatis.annotations.Param;

/**
 * 预订单Mapper接口
 * 
 * @author wuweihong
 * @date 2024-09-23
 */
public interface OrderHeaderMapper extends BaseMapper<OrderHeader>
{

    IPage<OrderDTO> orderList(Page<OrderDTO> customerPage, @Param("req") OrderListReq req, @Param("userId") Long userId);

}
